<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        *{
            margin: 0;
            padding: 0;
        }

        div{
            width: 100vw;
            height: 100vh;
            background-color: yellowgreen
            ;
        }

    </style>
</head>
<body>
    
<!-- vh 与vw -->

<!-- vh -view-hright  视口高度-->
<!-- vw = view -width 视口宽度 -->

<div>

</div>

</body>
</html>